package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料管理对象 material
 * 
 * @author ruoyi
 * @date 2023-04-05
 */
public class Material extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplier;

    /** 材质 */
    @Excel(name = "材质")
    private String material;

    /** 型号/颜色 */
    @Excel(name = "型号/颜色")
    private String modelColor;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 数量 */
    @Excel(name = "数量")
    private String quantity;

    /** 总价 */
    @Excel(name = "总价")
    private String total;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setMaterial(String material) 
    {
        this.material = material;
    }

    public String getMaterial() 
    {
        return material;
    }
    public void setModelColor(String modelColor) 
    {
        this.modelColor = modelColor;
    }

    public String getModelColor() 
    {
        return modelColor;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }
    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }
    public void setTotal(String total) 
    {
        this.total = total;
    }

    public String getTotal() 
    {
        return total;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplier", getSupplier())
            .append("material", getMaterial())
            .append("modelColor", getModelColor())
            .append("specifications", getSpecifications())
            .append("unitPrice", getUnitPrice())
            .append("quantity", getQuantity())
            .append("total", getTotal())
            .append("remarks", getRemarks())
            .toString();
    }
}
